package com.pg.agent.engine.service.component;

import com.pg.agent.engine.client.model.agent.AIAgent;

/**
 * 最后提示大模型提示词组件
 * @author huhuaping
 * @date 2023/11/6 10:33
 */
public class LastComponent extends PromptComponent {
    private String last;

    public LastComponent(String last) {
        super();
        this.last = last;
    }

    @Override
    public String getPrompt(AIAgent agent) {
        return last;
    }
}
